import random
import numpy as np
from tools import utils

def generate_random_number(average):
    # 计算标准差
    std_dev = average / 10
    # 生成随机数
    random_number = random.gauss(average, average)
    # 确保结果是整数
    n = int(round(random_number))
    return utils.round_to_nearest_5(n)

mean = 0  # 均值
std = 1  # 标准差
size = (10, 10)  # 生成数组的形状

result = np.random.normal(79, 7, 30)
n = np.apply_along_axis(utils.round_to_nearest_3, axis=0, arr=result)
n.sort()
print(n)
